/*
 *
 */

#ifndef USER_FACE_ID_H
#define USER_FACE_ID_H

#include "user_common.h"

#if defined(GKT_CONFIG_FACE_ID_ENABLE) && GKT_CONFIG_FACE_ID_ENABLE
#define GKT_USER_FACE_ID_MAXSIZE	2

struct _user_face_id_item {
	user_item_header_u	header;
	uint8_t	data_length;
	uint8_t	data[GKT_USER_FACE_ID_MAXSIZE];
} __ALIGNED(USER_ALIGNMENT);
typedef struct _user_face_id_item	user_face_id_item_s;
#define USER_FACE_ID_ITEM_SIZE	sizeof(user_face_id_item_s)

#define USER_FACE_ID_ITEM_C(item_index)	\
	(const user_face_id_item_s *)USER_ITEM_HEADER_C(&g_user_face_id.instance, item_index)

typedef struct _user_face_id {
	user_instance_s	instance;
	user_face_id_item_s	enroll_item;
} user_face_id_s;
extern user_face_id_s g_user_face_id;

typedef struct _user_face_id_info {
	user_type_info_s	common;
} user_face_id_info_s;
extern user_face_id_info_s g_user_face_id_info;
#endif

#endif	/* USER_FACE_ID_H */

